package org.point.dao;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

import org.point.common.dao.BaseDAO;
import org.point.common.util.DoPage;
import org.point.domain.CreditsType;
import org.point.domain.DeliveryInfo;
import org.point.domain.ProductType;
import org.point.domain.TransactionRecord;
import org.point.domain.Users;

public interface TransactionRecordDao extends BaseDAO<TransactionRecord,  Serializable>{
	

	/**
	 * 
	 * @Title: searchTrandRecord 
	 * @Description: TODO(根据条件查询交易记录信息) 
	 * @param @param map
	 * @param @return    设定文件 
	 * @return List<Users>    返回类型 
	 * @throws
	 */
	public List<TransactionRecord> searchTrandRecord(DoPage<TransactionRecord> page);
	
	
	/**
	 * 
	 * @Title: insertTrandRecord 
	 * @Description: TODO(增加一个客户) 
	 * @param @return    设定文件 
	 * @return Integer    返回类型 
	 * @throws
	 */
	public Integer insertTrandRecord(TransactionRecord record);
	
	public Integer countTrandForMem(DoPage<TransactionRecord> page);
	

}